<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title>对象的简写形式</title>
  </head>
  <body>
    <script type="text/javascript" >

      let obj1 = {sum:'sum',version:'version'}

      // let obj2 = {sum:sum,version:version}
      // let obj2 = {sum,version}

      console.log(obj1)
    </script>
  </body>
</html>